package com.taotao.sso.service;
/**
 * @Title: UserService
 * @ProjectName taotao
 * @Description: TODO
 * @author new
 * @date 2018/9/522:46
 */

import com.taotao.pojo.TaotaoResult;
import com.taotao.pojo.TbUser;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @Auther: new
 * @Date: 2018/9/5 22:46
 * @Description:
 */
public interface UserService {

    TaotaoResult checkData(String content, Integer type);

    TaotaoResult createUser(TbUser user);

    TaotaoResult userLogin(String username, String password, HttpServletRequest request, HttpServletResponse response);

    TaotaoResult getUserByToken(String token);
}
